package myjava.test;

/**
 * @author Yancy
 * @program springioctest
 * @create 2020-11-13
 */
public class Demo01 {
  public int x, y;

  Demo01(int x1, int y1) {
    x = x1;
    y = y1;
  }

  public Demo01() {
    this(0, 0);
  }

  public void moveTo(int x1, int y1) {
    x = x1;
    y = y1;
  }

  static int[] arr = new int[10];

  public static void main(String[] args) {
    //

    System.out.println(arr[1]);
  }
}
